
package jnpf.fico.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.base.ActionResult;
import jnpf.fico.entity.ZcglCwInvoiceEntity;
import jnpf.fico.model.invoice.ZcglCwInvoiceForm;
import jnpf.fico.model.invoice.ZcglCwInvoiceListVO;
import jnpf.fico.model.invoice.ZcglCwInvoicePagination;

import java.util.List;

/**
 *
 * ZcglCwInvoice
 * 版本： V3.2.0
 * 版权： 智果云科技（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2024-10-30
 */
public interface ZcglCwInvoiceService extends IService<ZcglCwInvoiceEntity> {


    List<ZcglCwInvoiceEntity> getList(ZcglCwInvoicePagination zcglCwInvoicePagination);

    List<ZcglCwInvoiceEntity> getTypeList(ZcglCwInvoicePagination zcglCwInvoicePagination,String dataType);


    ZcglCwInvoiceEntity getInfo(String id);

    void delete(ZcglCwInvoiceEntity entity);

    void create(ZcglCwInvoiceEntity entity);

    boolean update(String id, ZcglCwInvoiceEntity entity);

//  子表方法

    //列表子表数据方法

    //验证表单
    boolean checkForm(ZcglCwInvoiceForm form, int i);

    IPage<ZcglCwInvoiceListVO> getListPage(ZcglCwInvoicePagination pagination);

    ActionResult detailInfo(String id);

    ActionResult commit(ZcglCwInvoiceForm zcglCwInvoiceForm);
}
